package com.deer.wms.ASN.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.deer.wms.ASN.manage.model.buy.InsertData;
import com.deer.wms.ASN.manage.model.buy.RequestBuy;
import com.deer.wms.ASN.manage.model.buy.RequestBuyCriteria;
import com.deer.wms.ASN.manage.model.buy.RequestBuyDto;
import com.deer.wms.intercept.common.data.CurrentUser;

import java.util.List;


/**
 * Created by guo on 2020/01/02.
 */
public interface RequestBuyService extends IService<RequestBuy> {

    List<RequestBuyDto> findList(RequestBuyCriteria criteria);

    void createRequestBuy(InsertData insertData, CurrentUser currentUser);

    void deleteByBillNo(String billNo);

    void createFile(String billNo, CurrentUser currentUser);


    RequestBuy findBy(String field, String value);
}
